package com.haidong.mapper;

import com.haidong.pojo.Cost;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface CostMapper {
    List<Cost> selectAll();
    Cost selectById(int id);
    List<Cost> selectByHouseTime(@Param("houseId") Integer houseId,@Param("year") Integer year,@Param("month") Integer month);
    List<Cost> selectByTime(@Param("year") int year,@Param("month") int month);
}
